package com.wzh.borrow.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author wzh
 * @email 1281204121@qq.com
 * @date 2022-01-27 21:23:52
 */
@Data
@TableName("t2_borrow")
public class BorrowEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 借款id
	 */
	@TableId
	private Integer bid;
	/**
	 * 借款uid
	 */
	private Integer uid;
	/**
	 * 创建时间
	 */
	private Date createDate;
	/**
	 * 状态
	 */
	private String state;
	/**
	 * 借款金额
	 */
	private Double money;

	/**
	 * 分期类型
	 * */
	private Integer type;

	/**
	 * 每期还款金额
	 * */
	private Double aaa;

	/**
	 * 综合利率
	 * */
	private Double bbb;

	/**
	 * 综合手续费
	 * */
	private Double ccc;

	/**
	 * 总共还款金额
	 * */
	private Double ddd;
	//已还金额
	private Double refunded;

	/**
	 * 利率
	 * */
	private Double rate;

	private Integer buid;
}
